﻿package com.eitb.events{
	import flash.events.Event;

	public class OnMetaDataEvent extends Event {
		public static  const DEFAULT_NAME:String = "com.eitb.events.OnMetaDataEvent";
		public static  const ON_META_DATA:String = "onMetaData";
		public var duration:String;
		
		public function OnMetaDataEvent($type:String, $params:Object, $bubbles:Boolean = false, $cancelable:Boolean = false) {
			super($type, $bubbles, $cancelable);
			this.duration = $params.duration;
		}
		public override function clone():Event {
			return new OnMetaDataEvent(type,this.duration,bubbles,cancelable);
		}
		public override function toString():String {
			return formatToString("OnMetaDataEvent","params","type","bubbles","cancelable");
		}
	}
}